import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SSuitLockTip
    
    export  class SSuitLockTip extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SSuitLockTip();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeBool(this.canLock);
            arg1.writeBool(this.isAtuo);
            arg1.writeInt(this.suitCode);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.canLock = arg1.readBool();
            this.isAtuo = arg1.readBool();
            this.suitCode = arg1.readInt();
            return;
        }

        public /* const */_type: int=12314;

        public /* var */canLock: Boolean;

        public /* var */isAtuo: Boolean;

        public /* var */suitCode: int;

        public static /* var */_regist: SSuitLockTip;
    }

            SSuitLockTip._regist = new SSuitLockTip(true);
        